/* 
 * File:   Lane.h
 * Author: mikey
 *
 * Created on August 25, 2010, 10:01 PM
 */

#ifndef LANE_H
#define	LANE_H

#include "Car.h"

class Lane {
public:
    Lane();
    void SetCarPosition(int, Car);      // Sets the position int to hold Car.
    Car GetCarPosition(int);            // Returns the car object at position int.
    void clearCarPosition(int);         // Clears the position int from the lane.
    string returnCarString();           // Returns a string of all of the cars in order.
private:
    Car carPosition[20];    // Array of Car objects. This represents the entire lane.

};

#endif	/* LANE_H */

